﻿using Controller.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ControllerManageServer.ActionModel
{
    abstract class ActionModelAbstract
    {
        /// <summary>
        /// 字符编码,默认是ASCII码
        /// </summary>
        public Encoding DefaultEncoding = Encoding.ASCII;

        /// <summary>
        /// 模式数组
        /// </summary>
        /// <returns></returns>
        public abstract byte[] ModeArray();

        /// <summary>
        /// 
        /// </summary>
        /// <param name="iModel"></param>
        public abstract void ToActionModel(ActionPacketModel iModel);

    }
}
